//
// Created by dong on 2025/10/22.
//

#ifndef SDL_DRAW_TOOLS_SHAPE_H
#define SDL_DRAW_TOOLS_SHAPE_H
#include "Global.h"


class Shape
{
public:
    virtual ~Shape();
    virtual  void render(SDL_Renderer* render)=0;
    virtual string name() const = 0;
    void setColor(const SDL_Color& color);
protected:
    SDL_Color m_color;
};


#endif //SDL_DRAW_TOOLS_SHAPE_H